Back to the Vavoom Forum Archives
scen
usr/bin/x86_64-pc-linux-gnu-c++ -I/usr/include/SDL -I/usr/include/AL -Isource/-pthread -DHAVE_INTTYPES_H=1 -DZONE_DEBUG=1 -o source/CMakeFiles/vavoom.dir/vc_member.o -c source/vc_member.cpp source/array.h: In member function ‘void TArray<T>::Resize(int) [with T = char]’: source/array.h:138: instantiated from ‘void TArray<T>::SetNum(int, bool) [with T = char]’ source/vc_member.cpp:531: instantiated from here source/array.h:117: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: source/zone.h:49: note: candidate 1: void* operator new(size_t, const char*, int) source/array.h:36: note: candidate 2: void* operator new(size_t, void*, EArrayNew) source/array.h:117: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: source/zone.h:49: note: candidate 1: void* operator new(size_t, const char*, int) source/array.h:36: note: candidate 2: void* operator new(size_t, void*, EArrayNew)I'm using GCC-4.1.2 on Gentoo Linux AMD64.
Janis Legzdinsh